package com.moxiao.yfjh.module.blind.controller.admin.distributionsharing.vo;

import com.moxiao.yfjh.framework.common.pojo.PageParam;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDateTime;

import static com.moxiao.yfjh.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - 相亲分销分享分页 Request VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class DistributionSharingPageReqVO extends PageParam {

    @Schema(description = "分享人id", example = "29032")
    private Long shareUserId;

    @Schema(description = "分享人ip")
    private String shareUserIp;

    @Schema(description = "系统信息")
    private String system;

    @Schema(description = "设备类型", example = "2")
    private String deviceType;

    @Schema(description = "设备id", example = "29485")
    private String deviceId;

    @Schema(description = "被分享人ip")
    private String ip;

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;

}
